A small fix which stopped invoice from working.

More...