Fixed condition not being retrieved properly.