Bug-fix for cphrst writing with Constant-pH MD