Added compareTo() in BooleanValue and fixed boolean parsing in QueryParser