The probation should end because the case was dismissed. The problem however is that the dismissal was without prejudice.  A dismissal without prejudice means the case can be reinstated in the future.  If the dismissal had been with prejudice, the case could not be reinstated in the future.