Fix isset vs array_key_exist bug.