improve RealAffinity and IfNot
improve RealAffinity and IfNot


Former-commit-id: d10bba28060f8bfae9914e6338c5debc905379b3
HPI-SWA-Lab/SQPyte,HPI-SWA-Lab/SQPyte,HPI-SWA-Lab/SQPyte,HPI-SWA-Lab/SQPyte,HPI-SWA-Lab/SQPyte