fix getPager

criteria "collection" didn't work (check for instance of CollectionInterface caused by missing use-statement)