When idx_scan is empty, report value '0'
Merge pull request #3 from samueltb/fix_idx_scan_query_default_values

When idx_scan is empty, report value '0'