Added option leg details selection
Fixed bug with option leg retrieval query