Fixed overwriting fileId with versionId in simple selector

Signed-off-by: Tom Wright <tom@inflatablecookie.com>