Fixed 'starts with' operator for empty needle

Fixes #1432