msrledec: fix output_end checks