Fixed return value when grain is in unknown state.