Pivot table child queries respect where conditions added through wherePivot()