I wasn't familiar with the story before, but in one version Wikipedia gives Medea told him he would become immortal if he removed that one nail, instead that was his only weakness. So, yep, unfortunate surprise.