Fix for determining success.