Bug fix: considering value of boolean on a toogle signal