migration to clean up desolate records