Fixed error in protein analysis

Fixed fatal error in protein analysis, with respect to recently added
restart feature