Fix runtime error with empty postfix square brackets.