Revision of run-after schedule, query update #787