Fixed exception after messages are updated through rules("add") that breaks validation