Fixed disabling filter not restoring all messages.

Closes #301.