Fixing bug where autocomplete fields don't work if they're conditionally shown using the display_if feature. Closes #28