Why do you say it would happen 
> if the target moves to an inactive cell. 

?
getTarget uses searchPtrViaActorId, so there shouldn't be any problem?