Issue #2188277 by japerry: add checks around panels_cache table when updating panels from 3.3