Fixes false calculation of left vacation days

* When there are no applications for leave,
  it's enough to return vacation days without a calculation

* refs #16608