Oops I'm sorry, it also happens with while loops.

The problem is solved when you execute a command after using the commented echo, eg /return... Funny stuff isn't it