fixes generic parser to correctly handle various scenarios that can happen
discussion and inspiration for fixes from #347 and #346
if you saw repeating day ahead prices returned in error, this version will fix that. Please upgrade and test again before opening an issue!