Improve resilience of `[remove_object]`.

Add check for presence of required subtag `[filter]`.