Fix pager elements count