Fix handling of bot and minor flags in page saving