Fix insert versus append typo.

Move cluster logic before service logic as well.