Fixed Bugs #1822, #791, #3463, #3880, #5154, plus an additional fix for Bug #1204 and several other bugs. Added ability to filter by index fields.