if we are refering to an array, then use the correct syntax
making sure that there is value to compare, otherwise the agent just about to start