Fixed item qualities not recognized correctly in LOG