Selection days calculation fix