Fix recently introduced error in state instance for
variables with no vertical dimension.