Fixing bug in 'for' - empty seq