changes null and guard check in _.initial and _.rest to reflect style used in _.first and _.last