CRM-14030 : applied patch for 4.4 version
Merge pull request #2286 from pratik-joshi/CRM-14030

CRM-14030 : applied patch for 4.4 version