Removed commented code
the check if a dunning should be closed also includes OPENED dunnings
Merge pull request #707 from Junkern/#651

#651