Fixes #4905: Error while trying to set "weight" in Variant with "," as seperator.