The test matcher for node-types must compare the note-type id, not do a partial match via and-masks.