Remove duplicate rows from simple pagination
Fix method order.