Swapped if positions

Change-Id: Ibcd234a6ec5a19584c1afd98a89f1a5efc618c16
Signed-off-by: EssexIO <essexwebsec@gmail.com>