Only include not exposed capabilities when filter specifies so

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>