Fixed stupid "return minus 1 if nothing is found"