Fixed #21643 -- repeated execution of qs with F() + timedelta

Thanks Tim Graham for review.