added exception handling, slightly nicer formatting
pruning subset matches when the parents have already been reported as matches