Solved: My variable did not have uniform capitalization. Thought I had already checked that.