Added support for handling situations where leave_entitlements are not yet used. Ensured that we only check for vacation days when we check for going over the limit