remove invalid transactions from consideration