Fixed lua error in notifications module