Bug with ~ for bools fixed