Default button visibility: Fixing comparation to support objects and arrays

Signed-off-by: José Luis Di Biase <josx@interorganic.com.ar>