Fix similar_resource method