Fix for not to index unwanted resource types