Fix small error resulting from pagination deletion