How big are the areas? For some reason the adhesion was bad between the original paint and gelcoat (not clean enough? Some mould-release agent left on the surface?) Anyway, you are right the most reasonable approach seems to be to prepare the areas with bad adhesion, and re-paint.