Add exception if column not found in database