Fix group post_shared hook