Fix for spaces in realm names.