I wanted just to be sure it doesn't have some other issues as well.
Otherwise, for the reported case, I just pushed two commit in master branch (see above the one for app_lua, another one inc ore). Can you try with master? If all ok, I will backport.