Former BPD officer has conviction thrown out on appeal