fixed active_admin and will_paginate compatibility issue