fixed bug when first leg was later than the second leg window.

Drive-by:
 * removed debugging console logs