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