Fix incorrect in_array call