Fixed the issue causing the broker core dump.
Fixed a bug where clearProperties does not clear the read-only flag.