Fix for #6

https://github.com/andrewelkins/cabinet/issues/6