Fixed filter for resource types

Change-Id: Id5cfc87c0426130b98dcf6cdbca9df03c7842e92
Merge "Fixed filter for resource types"