[4.2] ORM Fix inconsistency in return types of 'delete' functions.