Improve success/failure detection logic