[STYLE] Renamed method input parameter.
[FIX] Fixed wrong flag value for bare records.
[FIX] Fixed null ptr exception due to null transaction value to string
in record.
[SUBMODULE] Apply fixed tests.