Cleanup and bug fixes for Jena Extraction and Inferance