Fixed a bug that prints out an error if you open an invoice which was created by an employee that is later deleted.