Fixed small bug when a field is constant, rather than a function