Fix for view's being created with non-unique id's.