Fix atomics on Blackberry. Was not clearing.