Updated loop to show books published after 1950