Fixing validation if we Solr needs to be run in Debug mode.