diamonds column was checking the wrong table