Made Harlequin choose only viable targets.

Should fix #274

Thanks to Gallaecio for pointing out. :)