Bug fixes for interactive SQWRL querying