fixed jpa behavior regarding the many to many relation between image and tag