Make AnnotatedBug creation smart by checking main db