fixes #5: filtering tasks with pattern `!`

This should fix the problem in #5 where tasks could not be filtered from the list of matches.