Change deprecated Min constraint to Length constraint
Remove custom error handler for deprecations