Bug fix from previous commit
Merge pull request #400 from dbetebenner/master

Bug fix from previous commit