Fix some duplicate checks from injectDesktopData
Hide items with broken commands