fixed debug output in get_filtered_candidates(); added it to --debug cli
minor: removed old TODO