Updated Boolean parsing