modified how conditional statements work when the data value is an array
Merge pull request #6738 from openscholar/5749-2

modified how conditional statements work when the data value is an array