Fixed issue with multiple paginations