Added missing assert