Index: wp-includes/class-wp-term.php
===================================================================
--- wp-includes/class-wp-term.php	(revision 40569)
+++ wp-includes/class-wp-term.php	(working copy)
@@ -142,6 +142,11 @@
 
 			// If a taxonomy was specified, find a match.
 			if ( $taxonomy ) {
+
+				// Clear out the cached term since it does not have the
+				// matching taxonomy.
+				$_term = false;
+
 				foreach ( $terms as $match ) {
 					if ( $taxonomy === $match->taxonomy ) {
 						$_term = $match;
