Added support for arrays to contains conditional