Fixed if statement, sorry!

Signed-off-by: Sebastian Klaus <sebastian.klaus@aegiscare.com.au>