#520: IF stmt prevented table/view drop