Fix invalid view names for redirect