Check if record is nil before storing it
Merge pull request #176 from gdott9/store_asset

Check if record is nil before storing it