Fix for the print_frame_order_2nd_degree().
The NaN fix was partly incorrect.
Authored by: bugman 2009-09-11
Parent: [r9518]
Child: [r9520]