Bug fix for comparator entity cast error