Remove stray endwith tag

Caused template errors that failed unit tests.