Update SD-SeGrid-Execute.py

updated logic to handle other conditions