Removed spurious else.
Test branch.
Changed capture condition.