[#3090] Bad predicates generated from nullable keys on refresh(), update(), delete()