I can confirm that this is a problem for TSA pre-check, but it is no problem at all in general for the ticket. As an aside, 'middle' name is something common in the USA but in (most?) other countries people can either have 1, 2 or as many first names as they want. I know people with 4 first names