Fixed hashcode for RecordId