Added extra check for discount focus out