Fix extra entries in inspection history