LPS-34383 added global preferences scope check as well