Bugfix in onTimer() to correctly remove proposed expirations when all of them have expired