Added customer_id to compare and history queries so they check house_id and customer_id for usage