Add missing check of the editable flag
Merge pull request #31 from choll/master

Add missing check of the editable flag