Randomize categories fixes #1