Why to Check References: A Real-life Example