Corrected query construction in find_all.