The change I made would not effect anything now that I look back on it.
Are you sure you have the right field keys? Are you sure you have the field keys in the right place? Which field key represents which field?
Other than this I don’t see any reason why your code is not working.