dbjoin checkboxes - forgotten fix in element.php

Not sure why it didn't happen during the main tests but when tested with table join method "pk as foreign key" the original code returned wrong field name.