Fix #238 by removing debug assertions.