Update replacement match

Account for bound params with similar names, e.g. :LOG and :LOGID