Often, it helps to simply remove the last frame and to save it again.
E.g. with
Virtualdub:
1. Use the marks to select the last frame and then cut it:
2. Export as "Animated GIF":
3. and activate the "Infinite loop":
Done !
Now it should (hopefully) loop.
Good luck !
--------------------------------------------------