http://lodash.com/docs#compact might be better here.