Why does the clause with bad_url go away here?