Removed proposals with spent inputs

Fixes #1170