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)
Merge pull request #32 from NiklasMM/fix/filter_url_list

Fixed url filtering.