Fixes an undeclared variable missed by JSHint (*shakes fist*)
Handles trying to create a Record object from a Record object.