Fixed upgrade if im_tickets is not existing
Merge branch 'master' of github.com:project-open/intranet-search-pg