Added extra check in $watch(available)