Fix errors with creating outline view
Merge pull request #5 from takluyver/fix-outline-error

Fix errors with creating outline view