Make sure timeShift(...) doesn't crash for non-existing series, fixes graphite-web issue #217.