Fix validate for GHCi without TABLES_NEXT_TO_CODE