Small bugfix for targeting.