[FIX] #2643 Exception after upgrade from v7 to v8

Problem: Calling http.db_filter([None]) with [None] as db list throw Error.
More info in #2643