fixing issues with query for retrieveAccountsWithAnnualFeeDue