Added brackets
Don't sanitise rate ID - breaks utf8 chars

Fixes #5376