Why Firms Should Not Always Maximize Profits