Scan#refresh: fixed automatic Issue "fix"

When the current revision hadn't found *any* issues
the SQL request returned no issues to mark as fixed
instead of all issues.