* closes #4777 * thanks to Trista for report (cherry picked from commit 335a279d0d88cde541172b6c11b679de5ae2e41a)