Found a bug with the clone view function where it forgot to clone the viewnum