Added check for structures that do not contain protein chains.
 merging Peter's latest commits