Fix bug in place-planning where attached object was not considered in plan.

Hydro version of #491.