udf: Improve anchor block detection