Do not create records for instances outside the reporting period
If we passed the extract-to and extract-from options we were creating bogus records without a usage and start and end times. This change fixes that behaviour, and only creates records corresponding to that period.