Added extension to hash for requiring X-many columns to be valid values