Fix tree lopper if enforce data is set to false.