Fixing some strange Solr 4 solrj runtime exceptions

Minor fix :)