Fix for bug#4237.

Signed-off-by: Dhananjay <dhananjaynakrani@gmail.com>
Merge pull request #897 from dhananjay92/bug#4237

Fix for bug#4237.