Fixed random level dependency resolving.