Fixed bug in KeepStableCompositions that would result in assertion if there weren't
two or more hull endpoints.  Now in that case it will just allow those structures
through.

Fixed KeepWithinXPercent block and added test so bug doesn't show up again.