Avoid exceptions when there is only one page
Filter by sector and type