Fixes leaf::level() moved values return value.