FIX processAll method respects $preview flag

The preview flag is now respected more thoroughly to stop writing of related objects