Hotfix for PM comparators.
Fixed PM order when one PM is off and the other one is on (this was wrong in all comparators).
Fixed the case where both PMs are off for the sum comparator.
Authored by: dbartok 2015-09-18
Parent: [r13]
Child: [r15]