Fixed issue where extension fails on invisible fields