Make sure that discount isn't greater than total