Fixed get_targets_for_options error

Stupid Dave is stupid!