Minor fixes for median price display

There's probably a better way to do the `has_median` calculation