Fix iOS context switch

Allow switching to a new context without first calling to see what contexts there are.