Fix bug when pictureset.order is empty