[leave application] [employee query] fixes