Fixed bug where Default Views were not being generated correctly.

Fixes and closes http://mcneel.myjetbrains.com/youtrack/issue/IR-240