layout: Fix no-op check due to invalid checks