ImageGallery fixes, deleting relations when deleting a PhotoBlogEntry page