Bugfix in onTimer() to correctly remove proposed expirations when all of...

added a one line fix to onTimer()  an a new test case.