Escape backslash in recent_hits & better logging