Fix a bug with Category page