Invoice view bugfix