[BUGFIX] Fix evaluation of rootLevel configuration in NewRecordController