Fixed schema loading issue that was causing validation problems