Bug fixing in invoices/noMatches/:terminal.... route after aggregate