Fix saving bug (was only saving one deck per page, and duplicating for every page.)