Fixed duplicate bug in get_policies_for_accounts. Minor tweaks done to get_customers_by_id