ISPN-3357 Fix the OutdatedTopologyException check during remote invocati...

I made a mistake when rebasing from 5.2.x to master