fix for CRM-11310 : applied patch
Merge pull request #803 from pratik-joshi/CRM-11310

fix for CRM-11310 : applied patch