block: fix bug with inserting flush requests as sort/merge