jump out of loop in get_num_parts_right if key does not exist in array