Fixed failed inserts incrementing simulationId and streamlined pulling
of Grids.