Clearer message for assertion error