Fix to PR #152
Merge pull request #158 from rmcgibbo/pdbbug-bugfix

Fix to PR #152