Squashed commit of the following:

commit 43069922afa8af3ec31e7548c9352f10d2482a73
Author: Jared Jurkiewicz <jared.jurkiewicz@gmail.com>
Date:   Fri Aug 15 13:15:54 2014 -0400

    Fix issue with target node check, make sure it isn't root/body, fixes #18222

(cherry picked from commit 9eca97247cde7f5f58a3d37f7675e0b6fea4afce)