Fix the functionality of populate_live_entry_guards().