Made inheritance a little more sensible in templates.orders.detail