Fixed the derivative_filepaths spec to not be dependent on order