Fix for the merger of the frame_order_cleanup branch.
The pipe_control.pipes.check_pipe() function is being incorrectly used, but now matches that of the frame_order_cleanup branch.
Authored by: bugman 2015-10-02
Parent: [r27960]
Child: [r27962]