Correct remove handling for ajax-loaded elements