Same here.  I suggest if the div with the class msgfooter must be omitted the condition outside.