Fix for #6

My fix for: 
https://github.com/andrewelkins/cabinet/issues/6