Bug: isFieldUnique check function would return reversed value. Corrected.