Fix Options if statement

Fix options if statement to handle array with UNSET as content