Fix history grid update checking in behat