You're right, there was a bug! It should be fixed now!! Sorry for the inconvenience
It was a division by zero. You were killing the monster in the same frame it spawned, and the exp per second calculator couldn't handle that amount of power hahah.
It might indeed be because monster 1 has 0 HP after the shrink spell