Ignore item condition when determining value, except in trade (Fixes #1557)