My bad. It was a quick implementation and hence I did not even test it.