correcting for no leveled repeat queries
correcting for missing datatime