The assert should be ==. My copy/paste error.