Any reason not to do this now? 
```
$user = $this->request->query('user');
		if (! empty($user))
		{
			$sets_query->where('user_id', '=', $user);
		}
```