Fix bug identified in #1817, comment 17340049
Add inline comment
Merge pull request #2524 from rmcgibbo/hmmfix

Fix bug identified in #1817, comment 17340049