Allow negative balance

Implements #1511.