Now the selection of direct neighbours works properly.