Fixed out of bounds selection input