Cleans pagination