Calculate cost correctly when identical items are equipped to a ship captained by Lauran or Weyoun.