Fix for supprting receiving side filters

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