JBIDE-18964 Changing bean discovery mode doesn't run validation for existing beans