Corrects inheritence of the boolean value, which needs some special consideration from other (string/int) values. Fixes #13872