Fix wrong assertion

Closes #174 
Doesn't compile either.