Make the negative test of recordType depend on a specific record.

Otherwise it'll break if there's a record type in the AST by default.