Fix a bug in disableHistory param - condition owas inversed