don't crash if no warnings present...
Don't crash annotations if no warnings present... Merges #312