Hi, This patch fixes these issues.
Noted by Michael Wood.
Inspired by Jani Averbach.
Noted by Jani Averbach.
Fix issue 1158.
Patch from Brian Denny.
Patch from Larry Shatzer.
Patch from Larry Shatzer. Fix issue #1189: