fixed an issue in record de-serialization of Currency type