diff --git a/libwccl/ops/match/actions/markmatch.cpp b/libwccl/ops/match/actions/markmatch.cpp
index 27933f151ae8afd92ce0985565df49a3043ac4ca..7970e710e49b84dad031566963f410992f40fde9 100644
--- a/libwccl/ops/match/actions/markmatch.cpp
+++ b/libwccl/ops/match/actions/markmatch.cpp
@@ -17,9 +17,9 @@ void MarkMatch::execute(const ActionExecContext& context) const
 
 	boost::shared_ptr<const Match> match_from = match_from_->apply(context);
 	boost::shared_ptr<const Match> match_to =
-		(match_from_.get() == match_to_.get()) ? match_from : match_to_->apply(context);
+		(match_from_ == match_to_) ? match_from : match_to_->apply(context);
 	boost::shared_ptr<const Match> head_match =
-		(match_from_.get() == head_match_.get()) ? match_from : head_match_->apply(context);
+		(match_from_ == head_match_) ? match_from : head_match_->apply(context);
 
 	int abs_left = match_from->first_token(as).get_value();
 	if (abs_left < 0) {