Fix session errors, and pastes that don't exist