They performed better than they should in the past. Just like Denmark is performing better than they should right now.
With smaller countries, it will always be a generation thing. You need some luck, that enough great players will play at the same time, and just as important; that they are great together.
Sweden is just not there right now, and maybe even worse than normal.