Adds the necessary script to detect a WHERE or JOIN on a JSONB column. Please see linked issue for more info.