Little fix to forVariable - accomodate booleans