proper handling of bad thumbnail operation type