Fix boneheaded mistake

Not sure how this got lost. Make this compatible with legacy code