Fix bug with false values appearing in transtions