Remove assert that fails on Travis but not locally