BUGFIX: Reference to nonexistent ->record property