Small pagination fix