Fix bug with single preference statement