partition-every should handle nil messages