I have this piece of vmq

$this->query['where']['clauses'][2] = "("
$this->query['where']['clauses'][2] . ") OR (" .
"book_menu_links.depth IS NULL)";
?>
Problem is it doesn't show up in the query displayed in views preview. I'm trying to combine nodes that aren't books and book parents in one view.

I know this isn't supposed to be for production sites but the views API looks too complicated for doing what I want to change.