Fixes #13439
The shared report and label template filter evaluated model type choices at import time. If the database was unavailable, the filter kept an empty list and continued rejecting valid model types after the connection recovered.
Pass the choices as a callable so filtering recovers wit…