Fix issue with clearing destination bits when called with null