Fix search and replace error.
Make reverse links templated with custom filtering.