Fixes to flush with async filters