Fixed displaying custom invoice states in invoice report.