Bugfix for past_data query, instead of limit, the size property has to be used