HHQ-6003 HQAPI resource move does not work in 5.8.x (regression back to 5.7.1), Add validation if resource has hasSelfEdge, if so, don't add.