Fixes warning when an emtpy array is given as condition value
Improves creating conditions with emtpy arrays as values
Optimizes deleteItem() methods in catalog index managers