Edge case test for recent tasks, fix bad order from default scope