Additional check before creating GC

Added the abandoned order status check just to ensure GC codes are not
generated for them.