Fix dict_delete that could delete wrong entry