handle cases where the filter function fails to eval