Fix undefined arguments

The attached pull request fixes some issues in the notify store where arguments are not being passed, but the code is not checking for their existence before attempting to access their properties.