Fixed associate posts method; wasn't working with multiple inserts.