Added empty checking when checking for a nil value.
Version bump: 0.6.8 [ci skip]