Fix for perl scripts passing non-client objects to API handler for MoveP...

...C and MovePCInstance. [Fixes #127]