Fix for Issue #1153
Merge pull request #1187 from markcowl/publishfix

Fix for Issue #1153