Fix for disable spending of unconfirmed change.

Signed-off-by: unknown <raizor@gmail.com>