Some fit files can be fixed by FIT File Tools, using the section remover without any adjustments. Upload the file, then change the activity type from "Other" to "Running."
I tested your file to verify that this will work - CapeTown-fixed.zip
And congratulations on the marathon. Well done.