Fixed the searching by ip address and mac issue
Made sure to search at the beginning of the line when searhcing for a mac or an ip address Fixes #136