Maarten Lankhorst : quartz: Make sure at least 1 sample is processed before returning.