Fix for CRM-15750 advanced search using relationship and smart group produces backtrace
Merge pull request #4772 from jitendrapurohit/CRM-15750

Fix for CRM-15750 advanced search using relationship and smart group pro...