Fixed Security group operations sequence