Added correct logic for category selection for CSB slider