(#12465) make sure that the status returns correct value.