Revert part of the PhantomJS cleanup.
Ensure `_.sample` handles falsey `collection` arguments.