Fix a crashing bug that was accessing an error value that wasn't there.