Fix for priority values and entry contains.