There's a flaw in your calculation.
You are using median household income to purchase a median house but you only used a FHB deposit, that is you only put in 10%.
What if the median buyer already has a property and used the equity of that to purchase the median house? I don't know...