fixed error in Get-HasIncoming