Fix subresources filtering