Fixed bug in filetypeselecto class