Modified StaticRelationshipResource to improve performance, relationships are now filtered  locally
instead of merged with the whole filtered result set from TypeResource.