Prefer the data option instead of the foreach data when specified