Fixed an issue with checks system to skip some checks when running migrations for tenant only