diff --git a/homeassistant/components/recorder.py b/homeassistant/components/recorder.py
index 84d4c1ecccd0393f677096500c8843698e28a27f..367af7d2d7356e78e74b7264f0127f4efd2175ee 100644
--- a/homeassistant/components/recorder.py
+++ b/homeassistant/components/recorder.py
@@ -86,7 +86,7 @@ def run_information(point_in_time=None):
         return RecorderRun()
 
     run = _INSTANCE.query(
-        "SELECT * FROM recorder_runs WHERE start>? AND END IS NULL OR END<?",
+        "SELECT * FROM recorder_runs WHERE start<? AND END>?",
         (point_in_time, point_in_time), return_value=RETURN_ONE_ROW)
 
     return RecorderRun(run) if run else None