Merge pull request #4591 from Segrain/master

Smallfix.
Fix for #4592.