Added defense for illegal view names