Revised to select random location using locations list index rather than...

... id field.  Fixes #53.