Fixed open source licenses not working if proprietary still set in session.
Fixed transitions for schema.