The slime doesn’t actually want to collect gems, he just hates gems and wants there to be none of them left in the level…
(yeah, it’s a bug, when I update the game at some point I’ll fix it haha)