Fix qtype/stack:usediagnostictools capability.