Fixed FallingSand crash
Fixed Stone crash
Fixed Query-related crash