When harmonic minor is used, regular resolution for Si it upward while So usually moves downward. Spend some slow practice listening to notes on measure 5 until Sol and Si are clear in your mind. Also notice how Si needed to be cancelled out to become Sol in the same measure.