run type through strtolower in if statement as well (refs #4507)