Fixed a bug that could prevent AJAX submissions from working correctly.