Nepotism bill heard at Legislature