Fix for Invoice.status() taking 'closed' state into consideration, issue #49