[1.7.x] Fixed #23629 -- Allowed autodetector to detect changes in Meta.db_table.

Thanks Naddiseo for reporting.

Backport of 5732424bee from master