Imprtant fixes on auto identify user method

Fixes:

* Incorrect first event date
* Incorrect order of first event

Signed-off-by: Miguel M. Almeida <miguelcma@CMA-Retina.local>