Hope you have set the parameter 'CREATE_STORED_OUTLINES' to true or the name of category in the 'bad' instance.

Also, your SQL must match text for text in the 2 instances in order to use stored outlines.