Fixes case for spaces in taxonomy for menu functionality.