#585 Fixed getting of pages when filtering by tags