CBIS empty thumbnail bugfix