Fix issue #1009 (minetest.get_connected_players() returns non-existing players)