corrected SQL statement for protein mappings