improved inactivesearch
Merge pull request #4 from l0rb/master

improved inactivesearch