Prevent onFush event propagation

I used Gedmo loggable listener on Order entity, and this caused double log entries for orders that contained order items because `onFlush` was triggered twice. This should fix it.