Fix for #215

A simple fix and test for #215