Fix issue with tivo regex, add debug logs