Fixed bug with manual work period entries