Fix checking of parents use of SoftDeletes trait