Avoid wrong conversion for database pool.