Fix for supporting receiving side filters

Fixes the case with --exclude and --delete being specified.
See #778 for more info.

cc @danielgtaylor