Closes #8752 by bringing back abandoned #10470 originally written by @mchrostowski.
This now checks that returned transactions are not conflicting with any transactions that are filtered out by the given blockhash and add a functional test to prevent this in the future.