v.23.1Bug Fix

Async Blocks Not Cleaned Due to Function Limitation

Async blocks were not cleaned because the function get all blocks sorted by time didn't get async blocks. #44651 (Han Fei).