ISPN-4654 AND over range queries does not work (indexless query)

Some subscription gets mistakenly suspended.
Test that replaying a prepare command doesn't acquire the lock twice