Assert was in the wrong place...