Small changes to fix two bugs:

* Drag map control had stopped working
* Switching the resource type filter threw an error when used b/f a search was done