[lua-classconversion] Fixed copy-paste errors and deprecated conversion