issue #764 - fixed undefined error by case for checking 'links' property existance in notification object