Commit after resolve_bed_for_reference since it can create SRs