check_literal_as_filter returned literals at the end of pipelines too, which isn't desirable since that's the job of check_literal_as_sink