This is expected behavior - the way the system works is that once an employee is placed on leave using the flow, all days will be seen as non working for them. This will mean they are unable to book time off, as you can't make a request on a non working day.
The end date you have input for the leave entry does not actually bring them back from leave at this point. This field is for your reference only, the employee will not be returned from leave until you perform the return from leave action. The steps to return the employee from leave are:
- Directory
- Selecting the employee using the tick box
- Actions
- Change Work Status
- Return from leave

Once returned from leave, this will update their Lifecycle table and profile status and they will be able to make the time off request.