Fixing query parameter for instance filter. Added sample to create result