Fix bug with non existent period
Order date dropdown button