fixed filters and pagination

based on parent WP class
Merge pull request #64 from awshout/filter-fix

fixed filters and pagination