Fix elt details

Hello !
I get this error: bugs.debian.org/cgi-bin/bugreport.cgi?bug=768348 If notifications_period is not defined in host/service.
I saw in documentation and notifications_period is not mandatory ... so we have to handle this ...
I think this small patch fix the problem...

Thanks !