Made thread searching case insensitive