Fix ignore_lostfound logic:

  * The previous test was disabling ignore_lostfound always that
    $2 was not set because 'test -n "$2" -a ...' will fail every
    time that $2 is not set.

  * Fix logic so it only disables ignore_lostfound when $2 is set
    and it has a value of 0.