Fixed bug with clicking on paging anchor tags