Fixing a bug introduced in 2.7.4 that prevented success messages from showing up with AJAX turned on.