Accidental copy of old logic. Fixed