Fixed bug in cti_recreate_views_after_change_to