Fixed a small bug that reported a non-success when successful.