case insensitive download filter

changed from string search() to indexOf after both being toLowercase()-ed