fix to previous + fixed unconfirmed coin selection problem