Use a small size crochet hook or a darning/embroidery needle (dull point) to thread those ends back into the seam. Works fine, just make sure to leave the thread tails long enough, 4-5" and pull them straigth between your fingers first for easier working.