CRM-15201 fix case get related contacts query
4.5 Webtests fixes
Merge pull request #3998 from monishdeb/45-webtest-fix

4.5 Webtests fixes
Merge pull request #3994 from lcdservices/CRM-15201

CRM-15201 fix case get related contacts query