Fixed 'Logical operators should be avoided' error in SensioLabsInsight