Avoid NPE when no time range available