Fixed "in-place" selection when coming from a new document (id<0).
Merge pull request #458 from fredericbonjour/Admin

Fixed "in-place" selection when coming from a new document (id<0).