Debugging false negative for boolean