Check my last two comments in that thread for a way to use dynamic query with slightly different syntax.
Good Luck!