Bug fix in reservation