Fix up for bug 10178

Treat side effect correctly