Fix NullPointerException coming from ViolationsAdapter