Fix block validation

This fixes block validation.