Changed customer to customers. #857
Added key key to sales query. #857