Replace spaces in category filter