add support for the unlikely case where no filter is provided