Most likely reason: check for tool qualities accepts items with content as it does not check for emptiness. This was probably no problem in the earlier state as only real tools had a tool quality, but now other non-tool items like containers have qualities, too.