Issue 823 redundancy

I believe this error message fits only the asserts down here and not this one, which maybe should be removed as is being tested before.