make findMany query optional