Array existing item check debugged