fix for notifications id taken only from cache autoincrement

Marcin requested to merge mi_notifications_in_cache into master

Merge request reports