Renamed method get_entries_queryset since it was too repetitive.