Fix double qed symbol when using \endhere