Fixed url filtering.

    The removing of commented-out or empty line is now no
    longer done by manipulating the array we iterate over.
    (Which is generally a bad idea)