Attempted a simpler optimization for matching

Signed-off-by: Brandyn A. White <bwhite@dappervision.com>