Added 'invoicenumber' back into get_all() messages query