Fix nasty bug.