The output makes sense. Not a bug.: