Fix install of multiple endpoints not working right.