Fix initialization bug for the Endpoint class

refs #7780