Fix ajax_load condition