Fixed logic -- had left test variable in place by mistake.