Fix history-grid related behat scenarios