Flipping beamed groups of notes and rests

The answer to this topic is making the rests explicit. Please, see this post: