Added statement validity check