Fix a NPE with setting outposts