[3.8] Fix 1142 Js errors while validating user inscriptions