fix for updating ES index when deleting a user and associated records