Correct declaration name typo
Corrected execute continue query check condition