Added error detection for get_forward_list