Find missing element in array