Limit groups available for selection to the current attribute's groups also for new options.
Removed some stray prints.