(maint) Allow factset hashes to be nil in db

This is necessary for factsets to function after the PDB-898 migration,
since existing factsets are not being hashed.