You will get the miles ... the upgrade itinerary does not show them - as you indicated, but ... they will get credited. In all my past experience, only once have I had to contact them over this issue - it should be credited as normal after the flight.