Repair will_paginate