fix #781 - delete library_elements when article is sold out and prevent collection on sold_out articles