scatter plot bug fix. variables were always added to the selection even when 2(max allowed) were selected