Special case for absent views

Updated patch for joomlacode tracker issue 29709