Tiny fix deleted a misplaced assert()