fix boolean aggregates (documentation)