Fixed faulty false return of set_candidate when a candidate has a tile on the edge.