Paginator receives a QUERY and not array [anyt FIX]