Modify empty message conditition.