Properly check label use in get_map_elements in beam_jump

@UlfNorell