In a very rare and specific case (an equality search was done on an index allowing duplicates and additional boundary conditions were satisfied), a particular SQL query returned incorrect results. A variable initialization within internal sort logic was found to be incorrect. This condition is now properly checked and logic has been modified to prevent this problem.