Fix QSem and QSemN: Initial amount must be non-negative