I noted a change from 11.20 track to 12 regarding having expression arguments, but I was not sure if that was applicable in your case or not. This one you may need to create a support case to allow us to look into things further. One thing worth trying would be to pull the SR3 Desktop Client and run there just to be sure not something in there that changes behavior, that is the most current SR for 12.30 track. Sorry I do not have anything better for you, I am not much of an expert on the development side of things unfortunately, so I do not know if there are some other optimizations you may be able to do or not. My post will kick things back up in the list, so maybe someone else will have a look again and respond too.
To help users find verified answers, please don't forget to use the "Accept as Solution" button on any posts that helped you resolve your problem or question.