Bug in the instance state handling.