Fix bugs due to null medianwage, typo, etc.