Restored docking AP warning if target is not a docking node.

This used to exist but somehow a line of code got deleted or something.