Fixed ID filter comparison

much larger issue than initially realized
Term assingment in markers now based on term parent and ID not name.