Fix faction rank not being set on items in faction-owned containers