Will use Greater Mass Enchant first if you have the supplies, now will use Mass Enchant after Greater Mass enchant if you still have the smaller amount of supplies instead of just Greater Mass and then skipping Mass Enchant.
Before if you had enough items for greater mass it would just do the greater mass spell and move to the next gem leaving enough items to do mass enchant.