Many more fixes for Boolean data types