Fix crashing bug when targeting to regions and city database returns nil
Fix parsing of targeting option

(previously the code was otherwise there, but it was impossible to enable)