Bugfixing in search function
Version 1.7.0