Correct getter calls in union.c and utils.c
Correct getters in bool.c and logical.c