Removed empty string validation as it's not compatible with booleans.