Small change to assert, fixes #414