Updated DocCode predicate query in reaction to an SO
http://stackoverflow.com/questions/24053168/how-do-i-write-a-breeze-predicate-equivalent-to-the-following-sql/24068591#24068591