Do not push any history if historyList is empty