Fixes coding error in spec.