Maya SceneCache segfault fix.

Fixed a segfault which occurs when selecting multiple components of a sceneShape in Maya.