Returning the id or null after a delete by id