Fix: last pager element is not activated.

This fixes issue for pagination, when clicking on last page item it's not set active, but previous page is activated instead.