CRATEIT-152: Fixes clear crate functionality