Bug fixed in leave details + Updated specs

@Sanjiv: Please review the changes.