Fix for issue #106

See issue #106 for the bug's details:

https://github.com/schotime/NPoco/issues/106