Fix EZP-23152: deleteVersion removes images from published version
Merge pull request #928 from joaoinacio/EZP-23152_remove_image_version

Fix EZP-23152: deleteVersion removes images from published version