Fixed case-insensitive matching... my last commit was pretty dumb