My question is if an OSPF router learns a network from two different paths. One with a higher cost but it is a intra-area route. The other one with a lower cost but it is a inter-area route. It turns out the route choose the first one with a higher cost. Is this how it supposed to be? or it should always choose the one with a lower cost regardless of the route type?