mlpdec: Cleaner and better termination word check.