 Aren't the if conditions in Ln 110 and 116 switched? https://github.com/jtmelton/appsensor/blob/f1ddb414f5ee636720eda8997d8e406171137977/storage-providers/appsensor-storage-jpa2/src/main/java/org/owasp/appsensor/storage/jpa2/dao/AttackRepository.java#L109