Fixing folder comparison