Fixes typo in result.collect example