Fixed looping of posts and albums.