[fixes] employee query in leave application