Fixing check for empty intensity measurements.