Fixed problem with backend pagination