correlation: Bugfix for plot_times target

Avoid error if calc_times is implicitly called by plot_times.
Escaping of dollar sign fixed.