Only apply the security patches once per instance fixes #115