Remove asserts which can fail