Appeals court says investigators are exempt employees