Make sure get_last_updates() contains atleast one entry before calling .front()