Minor performance tweak to RDBMSDatabase.