Fixed #42 - "returnIds" from msGallery.