raising a RecordNotFound error when trying to direct access a record