This is technically working correctly, but is an unwanted behavior. In My Collection, searching for Demon shows all Demon Hunter cards (as well as cards with Demon type, text or name). When creating a Demon Hunter deck, there is no way to filter on the keyword type Demon among the Demon Hunter cards.
Known problem. Intended to be addressed in the next major patch: