Fixes abort error on appscale up when 'n' argument is used for replicati...

...on.

DO NOT MERGE. Needs regression testing.