Fixed silly error in my code.