Fixes #5830: Use technique updates to enable/disable active techniques

Actually, the comment is a little misleading: as the findCategory method is recursive, if an empty list is given we return immediatly (it's the out condition)