Fix disabling plugin and checking tables.

Signed-off-by: Robert Xu <robxu9@gmail.com>