Fix to accept true/false attrib values. Solve part of #84