Test that previousSibling properly respects the filter.