Fixes the argument order in definition of new_find_extension().