Fix which resolves KairosDB slow performance issue on H2

Fix which resolves KairosDB slow performance issue (from time to time - it's flapping) when adding datapoints using H2.