LPS-35408 Fix bug. We shouldn't recalculate cur when total is 0 AND cur is 1.
LPS-35408 Add tests
LPS-35469 Calling recalculateCur isn't valid because there are some cases where isRecalculate returns false and then we are not setting the total to the searchContainer but we should: i.e total=4 and cur=1, and delta=5.
LPS-35469 Delete unused methods