first() and last() result undefined in 'add' event callbacks

The 'add' was triggered before the _indexToModel was 
updated, which caused the methods first() and last() to not 
find the just added attributes.