Assert that match is never emitted after end

Re comments from @cowboy in #81