Fix the way the date intervals are passed to Postgres
Use new API for download storage handlers; print something out if both downloads are present and equal