Added error checking for NO_GFF state.