Fixed REPL completeness checking, fix if-else with blocks