Changed SQL routine summary_per_position_for_run - fixed IF that failed to cover all eventualities.