Fix bound checks for variables