Negative indexes replaced with checkbox