More Performance

Improved the image relationship parser