FM/SB: Updated Where clause for getTrackablePivots due to Postgressql issue