Fix: boolean value returned for failed operations