I've found that where targeting is concerned, it's helpful to imagine a straight line from the caster to the target. Like a rigid ribbon, perhaps. If a wall of force is in between the two, it can't be targetedunless the spell says otherwise.