Tweak latest_template_matching based on feedback