Respect namespace restrictions when blowing away queries.
Missing OPTIONAL statement.
DSM--
Merge pull request #44 from jordandukart/7.x

Respect namespace restrictions when blowing away queries.