case insensetive local save searches, fix extention being counted in the match