Fix query in findAccountsByField method