Fix group match detection return false, if page is not assigned to any groups.