Bug fix for Bug #3883

I have provided a bug fix for the above mentioned bug.
Thank you.