Tweak the query to old fetch undumped work