Fair enough - reverted this to a simple 'if' statement