DBServer: Fix matches_header length test