Fixed a bug in kibana that caused All Time log to be corrupted in some cases.