Hiding relativistic degrees of freedom in the early universe