[TO_STAGE] Fix bug 971120: add check for cartridges in a gear