Make db requirement checks more sensitive

fixes #7837