Determine the correct target before onFilter

Fix #156 and also returning correct indexes if a drag handle is present (#154).
#156: * filter-method
Merge pull request #157 from RubaXa/fix-156

Determine the correct target before onFilter