Maintain category throughout pagination