Ignore KeyError from the pool when filtering model names
When the database is updating, Model.get_name_items can be called while the pool is not yet completely filled. So some model stored in the table may not yet be in the pool. In this case we should ignore them.
Closes #13761 (closed)