Fixes an issue where the update database from definition file command will fail if a context has no attributes or actions