Fixed issue where dependency logic wasn't working properly when there was a dependency pointing to a question in another section.