A ternary mixing a long with a Long unboxed a null GL id and failed the whole report with a NullPointerException. The values are boxed with Long.valueOf, so a product that names no payable or paid GL (allowed) is read as null. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>