GridFS: Replace conditional operator with easier to read MIN and MAX 

… and remove an extra semicolon.