Fixes false negatives in case of a partial placeholder matching.