Fixed attachments thumbnails bug in relationship field

Signed-off-by: Elliot Condon <e@elliotcondon.com>