Good to hear it’s working now, thanks for reporting back.
If the issue comes back after editing the tunnels from the UI, keep in mind what Giacomo mentioned: some manual route/metric changes may be overwritten. In that case, sharing the generated routes and IPSec config would help to understand the conflict better.