Added where clause to list for single entity pagination.