Fix the constraint to orm extension.