Fixed bug with the notices system