Fixed exception raised by first model linking.