RAZ-2198: Hosts: Remove users from table could fail on certain databases