Fix for GitHub issue #40: updates.d not being cleared.