Fixing list bug on categories page