Only pass ASSUME_SORTED if it was defined.