Bugfix in history request