(Bluefox) fix error if all views are deleted.