The principal difference is that Specify 7 treats a blank record format, such as a blank value for a Determiner in this query line, as an empty value rather than no value.
This confuses the expression and causes it to show "Det " with or without a determiner.
To avoid this, I reccomend making the conditional look at another field value such as lastName in the Agent table (i.e. 1,9-determinations,5-determiner.agent.lastName) to determine if the agent exists or not.
It would look something like this in the app resource for the report:
To keep it simple, I recommend making this change in 6 by adding that field to the query and editing this expression using iReport.
If you’d like to do it the Specify 7 way, you can add this line to the list of fields in the report definition after adding the lastName field to the query linked to the report: