[VIDEO] Fix preset mapping. Modify the recursive function to be safer