CRM-14436-fix : silly mistake, didn't included && inside if condition