Change to be able to use BoolVector correctly in python modular