Fix for tight-looping paginations.