Fixes assert use.