Using An Array In An If Statement Inside Another If Statement