added degenerate case to metastore hash