Verify theres a record before trying to use it.