Assuming the time filter is always in position 0 seems dangerous. Further there are data sets that do not use time at all.