Fix bug in random mutation