Bug with extraction of pre-fitted chains from database
Error raises after prediction with pre-fitted chain obtained from database.
'is_fitted' flag is also False.
It looks like the fitted models are not saving in database properly.
The test for this error is added in 'fitted-chains-bug' branch: