Fixed should_appear_on_stream_of so that it does not bypass the visibility settings of the post. Added a condition to check if the author has permissions to see the post.