Fixed some breakage with the AJAX link type.