877b1cde11
Use scalars().first() instead of scalar_one_or_none() to tolerate duplicate rows in admin_roles table by (is_system, level).