Implement a workaround for the policy routing gateway bug