Fixes the bracket operator.