Added controller logic to handle comparions that do not exist