bug17370: change getDistinction() to look in Main instead of Work