[trunk] Fix for issue #61

This pull request fixes issue #61

<!---
@huboard:{"order":48.25,"custom_state":""}
-->