[ci skip] Remove unnecessary string casts in Pagination