Fix trim on booleans