core: Check CompIdMatcher.None and All in CompIdMatcher.matches

Signed-off-by: Karim Vuorisara <karim.vuorisara@valotrading.com>