fix recreate_versions! when version if proc returns false

When trying to recreate an specific version(```recreate_versions!```) and that version had a proc returning false, there was an error trying to store that object.