BUGFIX: get_copy_with_gaps_filled