Fixed Path recognition in SearchEngine.java