Fix nested if logic: allow off-line mode list