Fixing the error message of only_contains()