changing Helper.compareArray to do a strict comparisson on array elements