Fixed bug reported by Curtis in ML about executing query when labels are used
Fixed bug reported by Curtis in ML about deleting of edges