I just ran into the same thing, and the only mod I have installed is Kerbal Engineer Redux. That makes me think it's a bug, but I had a successful "attach parts" contract before this one so it might not reproduce consistently.
Thanks for sharing how you fixed it, same approach worked for me to complete my contract .