Removed extraneous lines in tree/data matching functions