(maint) Allow factset hashes to be null in db

This is necessary for factsets to function after the PDB-898 migration,
since preexisting factsets are not being hashed.
Instead of modifying an already existing test, can we make a point minimalistic test for this case and make it its own unit test in that way?