Fixed or at least prevented bug when loading kits from happening. Fixes #1112