Fix an incorrect return value when requested delete-operation