Fixed an issue in RequestSpotInstances

Fixes #248