Fixed bug with no state being created for next_else_if