• Oooops. Misplaced bracket.... Corrected it

    should be like this:

    and h.step_id > 0)-- only look at actual steps