Right now the min function does not support hexbinary, base64binary and some time items and throws an error instead Same for the max function