It's kind of sad that we need to do complex checking of arrays but most of the time it should be just string comparison… I will think of a better way of doing it.