Fix restore for scripted questions (#7).