Fixed Eloquent query builder withTrashed method when used with nested where or whereRaw.

`Illuminate\Database\Eloquent\Builder::isSoftDeleteConstraint` method checks for `$where['column']`, which is not set for nested or raw wheres, reversed the condition to check for `$where['type']` first.