Selection layer fix - added additional boolean flags levelOne