Your where clause is saying to bring the document in either way...the field is set to a boolean/bit, so by you having 0 OR 1, its bringing in all of the documents. Try to take out the 0 part of the clause. If you want it just to pull in items that are hidden from the navigation, you would have DocumentMenuItemHideInNavigation = 1 , otherwise, you would want all items that are not hidden from the navigation, which would be DocumentMenuItemHideInNavigation = 0.