fix bug introduced in AggTypes
initialize min and max functions for bit