Fix logic so defined msg.payload is not prereq for delete.

I've no idea why I missed this when fixing the issue yesterday but the delete should not depend on the payload being defined. Ignoring whitespace helps when understanding this change.
-Mark.